'use strict';

import React, { useEffect } from 'react';
import Layout from './layout';
import communitysafty from './sections/community-safty'
import management from './sections/intellectualPropertyManagement'

const App = props => {
    const { projectName } = props

    useEffect(() => {
        document.title = projectName;
    }, [])

    return (
        <Layout
            title={projectName}
            sections={[
                communitysafty,
                management
            ]}
        />
    )
}

export default App;